package com.igeek.compus.study.notice.service.impl;

import com.igeek.compus.study.notice.dao.NoticeDao;
import com.igeek.compus.study.notice.entity.Notice;
import com.igeek.compus.study.notice.service.NoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NoticeServiceImpl implements NoticeService {

    @Autowired
    private NoticeDao noticeDao;

    @Override
    public List<Notice> getNoticeList(Notice notice) {
        return noticeDao.getNoticeList(notice);
    }
}
